interface TabProps {
    title?: string,
    content?: string | number,
}

function Tab({title = "默认标题", content = "无"}: TabProps) {
    return (
        <div className="tab">
            <span className="text">{title}</span>
            <span className="value">{content}</span>
        </div>
    )
}

export default Tab;